﻿using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;

namespace Client.Views.WebImport
{
    public partial class SearchResultsView : UserControl
    {
        public SearchResultsView()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Für das Starten des Browsers mit Online Film info Seite
        /// </summary>
        private void Hyperlink_Click(object sender, RoutedEventArgs e)
        {
            var uri = (sender as Hyperlink).NavigateUri;

            if (uri != null)
                Process.Start(uri.ToString());
        }
    }
}
